<%-- 
    Document   : SetingChangeProcess
    Created on : Mar 24, 2012, 12:47:20 PM
    Author     : Tokino
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@ page language="java" %>
<%@ page import="java.util.*" %>
<%!
%>



<jsp:useBean id="formUnlocker" class="servlets.Unlocker" scope="request">
    <jsp:setProperty name="formUnlocker" property="*"/>
</jsp:useBean>  
<jsp:useBean id="SecprogScopeSession" class=
             "servlets.SecprogScopeSession" scope="session" />

<%

    if (!SecprogScopeSession.getIsLogin()) {
        response.sendRedirect("../index.jsp");
    }
    if (SecprogScopeSession.getAccounttype() == 1) {
        response.sendRedirect("../customer/CMain.jsp");
    }
    if (SecprogScopeSession.getAccounttype() == 2) {
        response.sendRedirect("../accounting/PCMain.jsp");
    }
    if (SecprogScopeSession.getAccounttype() == 3 || SecprogScopeSession.getAccounttype() == 4 || SecprogScopeSession.getAccounttype() == 5 || SecprogScopeSession.getAccounttype() == 6) {
        response.sendRedirect("../product/PMain.jsp");
    }


    if (formUnlocker.checkunlocker()) {
        formUnlocker.setUusername("");
%>
<jsp:forward page="AUnlockAccounts.jsp"/>
<%} else {
%>
<jsp:forward page="AUnlockAccounts.jsp"/>
<%    }
%>